<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no,
     initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="${ctx}/static/h5/css/public/bootstrap.min.css" type="text/css"/>
    <link rel="stylesheet" href="${ctx}/static/h5/css/personal/index.css"/>
    <title></title>
</head>
<body id="ancestor">
<div id="member-application" class="family-list">
    <div class="member-application-head">
        <a href="javascript:;" onclick="window.history.back()" class="go-backk">
            <i class="fa fa-angle-left" aria-hidden="true"></i>
            <span>返回</span>
        </a>
        <h4>成员申请</h4>
    </div>
<!--家族成员申请-->
    <div class="member-application-content">
        <ul>
            <c:forEach items="${actives}" var="a">
                    <li class="active" value="${a.pId}">
                        <div class="app_leftBox">
                            <span class="application-name" >${a.faTitle}</span>申请加入${a.family.fName}
                        </div>
                        <div class="app_rightBox">
                            <button class="application-approve" value="y">批准</button>
                            <button class="application-refused" value="n">拒绝</button>
                            <input hidden="hidden" class="user" value="${a.pId}">
                            <input type="text" hidden="hidden" class="apply_put nid"  value="${a.id}">
                            <input type="text" hidden="hidden" class="apply_put fid"  value="${a.family.id}">
                        </div>
                        <p class="applay_reason">
                            申请理由：
                            <span>${a.faDesp}</span>
                        </p>
                    </li>
            </c:forEach>
        </ul>
    </div>
</div>
</body>
<script src="${ctx}/static/h5/js/public/jquery-2.2.3.min.js"></script>
<%--<script src="${ctx}/static/h5/js/public/bootstrap.min.js"></script>--%>
<script src="${ctx}/static/h5/js/personal/family-apply.js"></script>
</html>